home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1997 #1 / Amiga Plus CD - 1997 - No. 01.iso / pd / programmierung / quickautodocks / graphics.doc < prev    next >
Text File  |  1992-09-03  |  27KB  |  855 lines

  1. graphics.library quick autodocs
  2.  
  3. NAME     : AddVSprite
  4. FUNCTION : Add a VSprite to the current gel list
  5. SYNOPSIS : AddVSprite(vs, rp)
  6.               -102    A0  A1
  7.  
  8. NAME     : AllocBitMap
  9. FUNCTION : Allocate a bitmap and attach bitplanes to it
  10. SYNOPSIS : bitmap=AllocBitMap(sizex,sizey,depth,flags,friend_bitmap)
  11.                      -918      d0    d1    d2    d3        a0
  12.  
  13. NAME     : AllocDBufInfo
  14. FUNCTION : Allocate structure for multi-buffered animation
  15. SYNOPSIS : AllocDBufInfo(vp)
  16.                -966      a0
  17.  
  18. NAME     : AllocRaster
  19. FUNCTION : Allocate space for a bitplane
  20. SYNOPSIS : planeptr=AllocRaster(width,height)
  21.               d0        -492     d0     d1
  22.  
  23. NAME     : AllocSpriteDataA
  24. FUNCTION : allocate sprite data and convert from a bitmap
  25. SYNOPSIS : SpritePtr=AllocSpriteDataA(bitmap,taglist)
  26.               d0          -1020         a2     a1
  27.  
  28. NAME     : AndRectRegion
  29. FUNCTION : Perform 2d AND operation of rectangle with region,
  30.            leaving result in region
  31. SYNOPSIS : AndRectRegion(region,rectangle)
  32.                 -504       a0       a1
  33.  
  34. NAME     : AndRegionRegion
  35. FUNCTION : Perform 2d AND operation of one region with second region,
  36.            leaving result in second region
  37. SYNOPSIS : status=AndRegionRegion(region1,region2) 
  38.              d0        -624         a0      a1
  39.  
  40. NAME     : Animate
  41. FUNCTION : Processes every AnimOb in the current animation list
  42. SYNOPSIS : Animate(anKey,rp)
  43.              -162   A0   A1
  44.  
  45. NAME     : AreaCircle (macro)
  46. FUNCTION : add a circle to areainfo list for areafill
  47. SYNOPSIS : error=AreaCircle(rp,cx,cy,radius)
  48.            D0               A1 D0 D1   D2
  49.  
  50. NAME     : AreaDraw
  51. FUNCTION : Add a point to a list of end points for areafill
  52. SYNOPSIS : error=AreaDraw(rp,x ,y )
  53.              d0    -258   A1 D0 D1
  54.  
  55. NAME     : AreaEllipse
  56. FUNCTION : add a ellipse to areainfo list for areafill
  57. SYNOPSIS : error=AreaEllipse(rp,cx,cy,a ,b )
  58.            d0        -186    a1 d0 d1 d2 d3
  59.  
  60. NAME     : AreaEnd
  61. FUNCTION : Process table of vectors and ellipses and produce areafill
  62. SYNOPSIS : error=AreaEnd(rp)
  63.              d0    -264  A1
  64.  
  65. NAME     : AreaMove
  66. FUNCTION : Define a new starting point for a new shape in the vector list
  67. SYNOPSIS : error= AreaMove(rp,x ,y )
  68.             d0      -252   a1 d0 d1
  69.  
  70. NAME     : AskFont
  71. FUNCTION : get the text attributes of the current font
  72. SYNOPSIS : AskFont(rp,textAttr)
  73.             -474   A1    A0
  74.  
  75. NAME     : AskSoftStyle
  76. FUNCTION : Get the soft style bits of the current font
  77. SYNOPSIS : enable=AskSoftStyle(rp)
  78.              D0       -84      A1
  79.  
  80. NAME     : AttachPalExtra
  81. FUNCTION : Allocate and attach a palette sharing structure to a colormap
  82. SYNOPSIS : status=AttachPalExtra(cm,vp)
  83.                        -834      a0 a1
  84.  
  85. NAME     : AttemptLockLayerRom
  86. FUNCTION : Attempt to Lock Layer structure by ROM code
  87. SYNOPSIS : gotit=AttemptLockLayerRom(layer)
  88.             d0          -654          a5
  89.  
  90. NAME     : BestModeIDA
  91. FUNCTION : calculate the best ModeID with given parameters
  92. SYNOPSIS : ID=BestModeIDA(TagItems)
  93.            d0    -1050       a0
  94.  
  95. NAME     : BitMapScale
  96. FUNCTION : Perform raster scaling on a bit map
  97. SYNOPSIS : BitMapScale(bitScaleArgs)
  98.               -678          A0
  99.  
  100. NAME     : BltBitMap
  101. FUNCTION : Move a rectangular region of bits in a BitMap
  102. SYNOPSIS : planecnt=BltBitMap(SrcBitMap,SrcX,SrcY,DstBitMap,DstX,DstY,SizeX,
  103.               D0       -30       A0      D0   D1     A1      D2   D3   D4
  104.                               SizeY,Minterm,Mask,TempA)
  105.                                D5      D6    D7    A2
  106.  
  107. NAME     : BltBitMapRastPort
  108. FUNCTION : Blit from source bitmap to destination rastport
  109. SYNOPSIS : error=BltBitMapRastPort (srcbm,srcx,srcy,destrp,destX,destY,
  110.             D0         -606          A0    D0   D1    A1     D2    D3
  111.                                     sizeX,sizeY,minterm)
  112.                                      D4    D5     D6
  113.  
  114. NAME     : BltClear
  115. FUNCTION : Clear a block of memory words to zero
  116. SYNOPSIS : BltClear(memBlock,bytecount,flags)
  117.              -300      a1       d0      d1
  118.  
  119. NAME     : BltMaskBitMapRastPort
  120. FUNCTION : blit from source bitmap to destination rastport with masking
  121.            of source image
  122. SYNOPSIS : BltMaskBitMapRastPort(srcbm,srcx,srcy,destrp,destX,destY,sizeX,
  123.                    -636           A0    D0   D1    A1    D2    D3    D4
  124.                                  sizeY,minterm,bltmask)
  125.                                   D5     D6      A2
  126.  
  127. NAME     : BltPattern
  128. FUNCTION : Using standard drawing rules for areafill,blit through a mask
  129. SYNOPSIS : BltPattern(rp,mask,xl,yl,maxx,maxy,bytecnt)
  130.               -312    a1, a0  d0 d1  d2   d3    d4
  131.  
  132. NAME     : BltTemplate
  133. FUNCTION : Cookie cut a shape in a rectangle to the RastPort
  134. SYNOPSIS : BltTemplate(SrcTemplate,SrcX,SrcMod,rp,DstX,DstY,
  135.                -36         A0       D0    D1   A1  D2   D3
  136.                        SizeX,SizeY)
  137.                         D4    D5
  138.  
  139. NAME     : CalcIVG
  140. FUNCTION : Calculate the number of blank lines above a ViewPort
  141. SYNOPSIS : count=CalcIVG(View,ViewPort)
  142.             D0     -828   A0     A1
  143.  
  144. NAME     : CBump
  145. FUNCTION : increment user copper list pointer
  146. SYNOPSIS : CBump(c )
  147.             -366 a1
  148.  
  149. NAME     : CEND (macro)
  150. FUNCTION : Terminate user copper list
  151. SYNOPSIS : CEND(c )
  152.  
  153. NAME     : ChangeExtSpriteA
  154. FUNCTION : Change the sprite image pointer
  155. SYNOPSIS : ChangeExtSpriteA(vp,oldsprite,newsprite,tags)
  156.                  -1026      a0     a1        a2     a3
  157.  
  158. NAME     : ChangeSprite
  159. FUNCTION : Change the sprite image pointer
  160. SYNOPSIS : ChangeSprite(vp,s ,newdata)
  161.                -420     a0 a1    a2
  162.  
  163. NAME     : ChangeVPBitMap
  164. FUNCTION : change display memory address for multi-buffered animation
  165. SYNOPSIS : ChangeVPBitMap(vp,bm,db)
  166.                 -942      a0 a1 a2
  167.  
  168. NAME     : CINIT (macro)
  169. FUNCTION : Initialize user copperlist to accept intermediate user
  170.            copper instructions
  171. SYNOPSIS : cl=CINIT(ucl,n )
  172.                     a0  d0
  173.  
  174. NAME     : ClearEOL
  175. FUNCTION : Clear from current position to end of line
  176. SYNOPSIS : ClearEOL(rp)
  177.               -42   A1
  178.  
  179. NAME     : ClearRectRegion
  180. FUNCTION : Perform 2d CLEAR operation of rectangle with region,
  181.            leaving result in region
  182. SYNOPSIS : status=ClearRectRegion(region,rectangle)
  183.              d0         -522        a0      a1
  184.  
  185. NAME     : ClearRegion
  186. FUNCTION : Remove all rectangles from region
  187. SYNOPSIS : ClearRegion(region)
  188.               -528       a0
  189.  
  190. NAME     : ClearScreen
  191. FUNCTION : Clear from current position to end of RastPort
  192. SYNOPSIS : ClearScreen(rp)
  193.                -48     A1
  194.  
  195. NAME     : ClipBlit
  196. FUNCTION : Calls BltBitMap() after accounting for windows
  197. SYNOPSIS :ClipBlit(Src,SrcX,SrcY,Dest,DestX,DestY,XSize,YSize,Minterm)
  198.             -552   A0   D0   D1   A1   D2    D3    D4    D5     D6
  199.  
  200. NAME     : CloseFont
  201. FUNCTION : Release a pointer to a system font
  202. SYNOPSIS : CloseFont(font)
  203.               -78     A1
  204.  
  205. NAME     : CloseMonitor
  206. FUNCTION : close a MonitorSpec
  207. SYNOPSIS : error=CloseMonitor(monitor_spec)
  208.              D0      -720          A0
  209.  
  210. NAME     : CMOVE
  211. FUNCTION : append copper move instruction to user copper list
  212. SYNOPSIS : CMOVE(c ,a ,v )
  213.             -372 a1 d0 d1
  214.  
  215. NAME     : CoerceMode
  216. FUNCTION : calculate ViewPort mode coercion
  217. SYNOPSIS : ID=CoerceMode(RealViewPort,MonitorID,Flags)
  218.            d0    -936        a0          d0       d1
  219.  
  220. NAME     : CopySBitMap
  221. FUNCTION : Syncronize Layer window with contents of Super BitMap
  222. SYNOPSIS : CopySBitMap(layer)
  223.                -450      a0
  224.  
  225. NAME     : CWAIT
  226. FUNCTION : Append copper wait instruction to user copper list
  227. SYNOPSIS : CWAIT(c ,v ,h )
  228.             -378 a1 d0 d1
  229.  
  230. NAME     : DisownBlitter
  231. FUNCTION : return blitter to free state
  232. SYNOPSIS : DisownBlitter()
  233.                -462
  234.  
  235. NAME     : DisposeRegion
  236. FUNCTION : Return all space for this region to free memory pool
  237. SYNOPSIS : DisposeRegion(region)
  238.                 -534       A0
  239.  
  240. NAME     : DoCollision
  241. FUNCTION : Test every gel in gel list for collisions
  242. SYNOPSIS : DoCollision(rp)
  243.                -108    A1
  244.  
  245. NAME     : Draw
  246. FUNCTION : Draw a line between the current pen position and the
  247.            new x,y position
  248. SYNOPSIS : Draw(rp,x ,y )
  249.            -246 a1 d0 d1
  250.  
  251. NAME     : DrawEllipse
  252. FUNCTION : Draw an ellipse centered at cx,cy with vertical and horizontal
  253.            radii of a,b respectively
  254. SYNOPSIS : DrawEllipse(rp,cx,cy,a ,b )
  255.                -180    a1 d0 d1 d2 d3
  256.  
  257. NAME     : DrawGList
  258. FUNCTION : Process the gel list,queueing VSprites,drawing Bobs
  259. SYNOPSIS : DrawGList(rp,vp)
  260.              -114    A1 A0
  261.  
  262. NAME     : EraseRect
  263. FUNCTION : Fill a defined rectangular area using the current BackFill hook
  264. SYNOPSIS : EraseRect(rp,xmin,ymin,xmax,ymax)
  265.               -810   a1  d0   d1   d2   d3
  266.  
  267. NAME     : ExtendFont
  268. FUNCTION : ensure tf_Extension has been built for a font
  269. SYNOPSIS : success=ExtendFont(font,fontTags)
  270.               D0      -816     A0     A1
  271.  
  272. NAME     : FindColor
  273. FUNCTION : Find the closest matching color in a colormap
  274. SYNOPSIS : color=FindColor(cm,R ,G ,B ,maxpen)
  275.                    -1008   a3 d1 d2 d3   d4
  276.  
  277. NAME     : FindDisplayInfo
  278. FUNCTION : search for a record identified by a specific key
  279. SYNOPSIS : handle=FindDisplayInfo(ID)
  280.              D0        -726       D0
  281.  
  282. NAME     : Flood
  283. FUNCTION : Flood rastport like areafill
  284. SYNOPSIS : error=Flood(rp,mode,x ,y )
  285.             d0       -330 a1  d2  d0 d1
  286.  
  287. NAME     : FontExtent
  288. FUNCTION : get the font attributes of the current font
  289. SYNOPSIS : FontExtent(font,fontExtent)
  290.               -762     A0      A1
  291.  
  292. NAME     : FreeBitMap
  293. FUNCTION : free a bitmap created by AllocBitMap
  294. SYNOPSIS : FreeBitMap(bm)
  295.               -924    a0
  296.  
  297. NAME     : FreeColorMap
  298. FUNCTION : Free the ColorMap structure and return memory to free memory pool
  299. SYNOPSIS : FreeColorMap(colormap)
  300.                -576        a0
  301.  
  302. NAME     : FreeCopList
  303. FUNCTION : deallocate intermediate copper list
  304. SYNOPSIS : FreeCopList(coplist)
  305.               -546       a0
  306.  
  307. NAME     : FreeCprList
  308. FUNCTION : deallocate hardware copper list
  309. SYNOPSIS : FreeCprList(cprlist)
  310.                -564      a0
  311.  
  312. NAME     : FreeDBufInfo
  313. FUNCTION : free information for multi-buffered animation
  314. SYNOPSIS : FreeDBufInfo(db)
  315.                -972     a1
  316.  
  317. NAME     : FreeGBuffers
  318. FUNCTION : Deallocate memory obtained by GetGBufers
  319. SYNOPSIS : FreeGBuffers(anOb,rp,db)
  320.                -600      A0  A1 D0
  321.  
  322. NAME     : FreeRaster
  323. FUNCTION : Release an allocated area to the system free memory pool
  324. SYNOPSIS : FreeRaster(p ,width,height)
  325.               -498    a0  d0     d1
  326.  
  327. NAME     : FreeSprite
  328. FUNCTION : Return sprite for use by others and virtual sprite machine
  329. SYNOPSIS : FreeSprite(pick)
  330.               -414     d0
  331.  
  332. NAME     : FreeSpriteData
  333. FUNCTION : free sprite data allocated by AllocSpriteData()
  334. SYNOPSIS : FreeSpriteData(extsp)
  335.                 -1032      a2
  336.  
  337. NAME     : FreeVPortCopLists
  338. FUNCTION : deallocate all intermediate copper lists and their headers
  339.            from a viewport
  340. SYNOPSIS : FreeVPortCopLists(vp)
  341.                  -540        a0
  342.  
  343. NAME     : GetAPen
  344. FUNCTION : Get the A Pen value for a RastPort
  345. SYNOPSIS : pen=GetAPen(rp)
  346.             d0   -858  a0
  347.  
  348. NAME     : GetBitMapAttr
  349. FUNCTION : Returns information about a bitmap
  350. SYNOPSIS : value=GetBitMapAttr(bitmap,attribute_number)
  351.              d0       -960       a0         D1
  352.  
  353. NAME     : GetBPen
  354. FUNCTION : Get the B Pen value for a RastPort
  355. SYNOPSIS : pen=GetBPen(rp)
  356.             d0   -864  a0
  357.  
  358. NAME     : GetColorMap
  359. FUNCTION : allocate and initialize Colormap
  360. SYNOPSIS : cm=GetColorMap(entries)
  361.            d0    -570       d0
  362.  
  363. NAME     : GetDisplayInfoData
  364. FUNCTION : query DisplayInfo Record parameters
  365. SYNOPSIS : result=GetDisplayInfoData(handle,buf,size,tagID,ID)
  366.              D0           -756         A0   A1   D0   D1   D2
  367.  
  368. NAME     : GetDrMd
  369. FUNCTION : Get the draw mode value for a RastPort
  370. SYNOPSIS : mode=GetDrMd(rp)
  371.             d0    -870  a0
  372.  
  373. NAME     : GetExtSpriteA
  374. FUNCTION : Attempt to get a sprite for the extended sprite manager
  375. SYNOPSIS : Sprite_Number=GetExtSpriteA(sprite,tags)
  376.                 d0           -930        a2    a1
  377.  
  378. NAME     : GetGBuffers
  379. FUNCTION : Attempt to allocate ALL buffers of an entire AnimOb
  380. SYNOPSIS : status=GetGBuffers(anOb,rp,db)
  381.              D0       -168     A0  A1 D0
  382.  
  383. NAME     : GetOutlinePen
  384. FUNCTION : Get the O Pen value for a RastPort
  385. SYNOPSIS : pen=GetOutlinePen(rp)
  386.             d0      -876     a0
  387.  
  388. NAME     : GetRGB32
  389. FUNCTION : Set a series of color registers for this Viewport
  390. SYNOPSIS : GetRGB32(cm,firstcolor,ncolors,table)
  391.              -900   a0     d0       D1      a1
  392.  
  393. NAME     : GetRGB4
  394. FUNCTION : Inquire value of entry in ColorMap
  395. SYNOPSIS : value=GetRGB4(colormap,entry)
  396.              d0    -582     a0     d0
  397.  
  398. NAME     : GetRPAttrsA
  399. FUNCTION : examine rastport settings via a tag list
  400. SYNOPSIS : GetRPAttrsA(rp,tags)
  401.               -1044    a0  a1
  402.  
  403. NAME     : GetSprite
  404. FUNCTION : Attempt to get a sprite for the simple sprite manager
  405. SYNOPSIS : Sprite_Number=GetSprite(sprite,pick)
  406.                 d0          -408     a0    d0
  407.  
  408. NAME     : GetVPModeID
  409. FUNCTION : get the 32 bit DisplayID from a ViewPort
  410. SYNOPSIS : modeID=GetVPModeID(vp)
  411.              D0      -792     A0
  412.  
  413. NAME     : GfxAssociate
  414. FUNCTION : associate a graphics extended node with a given pointer
  415. SYNOPSIS : GfxAssociate(pointer,node)
  416.                -672       A0     A1
  417.  
  418. NAME     : GfxFree
  419. FUNCTION : free a graphics extended data structure
  420. SYNOPSIS : GfxFree(node)
  421.              -666   a0
  422.  
  423. NAME     : GfxLookUp
  424. FUNCTION : find a graphics extended node associated with a given pointer
  425. SYNOPSIS : result=GfxLookUp(pointer)
  426.              d0      -702     a0
  427.  
  428. NAME     : GfxNew
  429. FUNCTION : allocate a graphics extended data structure
  430. SYNOPSIS : result=GfxNew(node_type)
  431.              d0    -660     d0
  432.  
  433. NAME     : InitArea
  434. FUNCTION : Initialize vector collection matrix
  435. SYNOPSIS : InitArea(areainfo,buffer,maxvectors)
  436.              -282      a0      a1       d0
  437.  
  438. NAME     : InitBitMap
  439. FUNCTION : Initialize bit map structure with input values
  440. SYNOPSIS : InitBitMap(bm,depth,width,height)
  441.               -390    a0   d0    d1    d2
  442.  
  443. NAME     : InitGels
  444. FUNCTION : initialize a gel list
  445. SYNOPSIS : InitGels(head,tail,GInfo)
  446.              -120    A0   A1    A2
  447.  
  448. NAME     : InitGMasks
  449. FUNCTION : Initialize all of the masks of an AnimOb
  450. SYNOPSIS : InitGMasks(anOb)
  451.               -174     A0
  452.  
  453. NAME     : InitMasks
  454. FUNCTION : Initialize the BorderLine and CollMask masks of a VSprite
  455. SYNOPSIS : InitMasks(vs)
  456.               -126   A0
  457.  
  458. NAME     : InitRastPort
  459. FUNCTION : Initialize raster port structure
  460. SYNOPSIS : InitRastPort(rp)
  461.                -198     A1
  462.  
  463. NAME     : InitTmpRas
  464. FUNCTION : Initialize area of local memory for usage by areafill,
  465.            floodfill,text
  466. SYNOPSIS : InitTmpRas(tmpras,buffer,size)
  467.               -468      a0     a1    d0
  468.  
  469. NAME     : InitView
  470. FUNCTION : Initialize View structure
  471. SYNOPSIS : InitView(view)
  472.              -360    a1
  473.  
  474. NAME     : InitVPort
  475. FUNCTION : Initialize ViewPort structure
  476. SYNOPSIS : InitVPort(vp)
  477.               -204   a0
  478.  
  479. NAME     : LoadRGB32
  480. FUNCTION : Set a series of color registers for this Viewport
  481. SYNOPSIS : LoadRGB32(vp,table)
  482.               -882   a0   a1
  483.  
  484. NAME     : LoadRGB4
  485. FUNCTION : Load RGB color values from table
  486. SYNOPSIS : LoadRGB4(vp,colors,count)
  487.              -192   a0   a1    d0
  488.  
  489. NAME     : LoadView
  490. FUNCTION : Use a coprocessor instruction list to create the current display
  491. SYNOPSIS : LoadView(View)
  492.              -222    A1
  493.  
  494. NAME     : LockLayerRom
  495. FUNCTION : Lock Layer structure by ROM code
  496. SYNOPSIS : LockLayerRom(layer)
  497.                -432       A5
  498.  
  499. NAME     : MakeVPort
  500. FUNCTION : generate display copper list for a viewport
  501. SYNOPSIS : error=MakeVPort(view,viewport)
  502.              d0     -216    a0     a1
  503.  
  504. NAME     : ModeNotAvailable
  505. FUNCTION : check to see if a DisplayID isn't available
  506. SYNOPSIS : error=ModeNotAvailable(modeID)
  507.              d0        -798         d0
  508.  
  509. NAME     : Move
  510. FUNCTION : Move graphics pen position
  511. SYNOPSIS : Move(rp,x ,y )
  512.            -240 a1 d0 d1
  513.  
  514. NAME     : MoveSprite
  515. FUNCTION : Move sprite to a point relative to top of viewport
  516. SYNOPSIS : MoveSprite(vp,sprite,x ,y )
  517.               -426    A0   A1   D0 D1
  518.  
  519. NAME     : MrgCop
  520. FUNCTION : Merge together coprocessor instructions
  521. SYNOPSIS : error=MrgCop(View)
  522.              d0   -210   A1
  523.  
  524. NAME     : NewRegion
  525. FUNCTION : Get an empty region
  526. SYNOPSIS : region=NewRegion()
  527.              d0      -516
  528.  
  529. NAME     : NextDisplayInfo
  530. FUNCTION : iterate current displayinfo identifiers
  531. SYNOPSIS : next_ID=NextDisplayInfo(last_ID)
  532.               D0        -732          D0
  533.  
  534. NAME     : ObtainBestPenA
  535. FUNCTION : Search for the closest color match,or allocate a new one
  536. SYNOPSIS : color=ObtainBestPenA(cm,R ,G ,B ,taglist)
  537.                       -840      a0 d1 d2 d3    A1
  538.  
  539. NAME     : ObtainPen
  540. FUNCTION : Obtain a free palette entry for use by your program
  541. SYNOPSIS : n =ObtainPen(cm,n ,r ,g ,b ,flags)
  542.            d0    -954   a0 d0 d1 d2 d3  d4
  543.  
  544. NAME     : OpenFont
  545. FUNCTION : Get a pointer to a system font
  546. SYNOPSIS : font=OpenFont(textAttr)
  547.             D0    -72       A0
  548.  
  549. NAME     : OpenMonitor
  550. FUNCTION : open a named MonitorSpec
  551. SYNOPSIS : mspc=OpenMonitor(monitor_name,display_id)
  552.             d0      -714         a1          d0
  553.  
  554. NAME     : OrRectRegion
  555. FUNCTION : Perform 2d OR operation of rectangle with region,
  556.            leaving result in region
  557. SYNOPSIS : status=OrRectRegion(region,rectangle)
  558.              d0       -510       a0       a1
  559.  
  560. NAME     : OrRegionRegion
  561. FUNCTION : Perform 2d OR operation of one region with second region,
  562.            leaving result in second region
  563. SYNOPSIS : status=OrRegionRegion(region1,region2)
  564.              d0         -612       a0      a1
  565.  
  566. NAME     : OwnBlitter
  567. FUNCTION : get the blitter for private usage
  568. SYNOPSIS : OwnBlitter()
  569.               -456
  570.  
  571. NAME     : PolyDraw
  572. FUNCTION : Draw lines from table of (x,y) values
  573. SYNOPSIS : PolyDraw(rp,count,array)
  574.              -336   a1   d0    a0
  575.  
  576. NAME     : QBlit
  577. FUNCTION : Queue up a request for blitter usage
  578. SYNOPSIS : QBlit(bp)
  579.            -276  a1
  580.  
  581. NAME     : QBSBlit
  582. FUNCTION : Synchronize the blitter request with the video beam
  583. SYNOPSIS : QBSBlit(bsp)
  584.             -294    a1
  585.  
  586. NAME     : ReadPixel
  587. FUNCTION : read the pen number value of the pixel at a specified x,y
  588.            location within a certain RastPort
  589. SYNOPSIS : penno=ReadPixel(rp,x ,y )
  590.              d0    -318    a1 d0 d1
  591.  
  592. NAME     : ReadPixelArray8
  593. FUNCTION : read the pen number value of a rectangular array of pixels
  594.            starting at a specified x,y location and continuing through
  595.            to another x,y location within a certain RastPort
  596. SYNOPSIS : count=ReadPixelArray8(rp,xstart,ystart,xstop,ystop,array,temprp)
  597.              D0        -780      A0   D0     D1     D2    D3    A2    A1
  598.  
  599. NAME     : ReadPixelLine8
  600. FUNCTION : read the pen number value of a horizontal line of pixels
  601.            starting at a specified x,y location and continuing right
  602.            for count pixels
  603. SYNOPSIS : count=ReadPixelLine8(rp,xstart,ystart,width,array,temprp)
  604.              D0       -768      A0   D0     D1     D2    A2    A1
  605.  
  606. NAME     : RectFill
  607. FUNCTION : Fill a rectangular region in a RastPort
  608. SYNOPSIS : RectFill(rp,xmin,ymin,xmax,ymax)
  609.              -306   a1  d0   d1   d2   d3
  610.  
  611. NAME     : ReleasePen
  612. FUNCTION : Release an allocated palette entry to the free pool
  613. SYNOPSIS : ReleasePen(cm,n )
  614.               -948    a0 d0
  615.  
  616. NAME     : RemBob (macro)
  617. FUNCTION : Macro to remove a Bob from the gel list
  618. SYNOPSIS : RemBob(bob)
  619.            
  620.  
  621. NAME     : RemFont
  622. FUNCTION : Remove a font from the system list
  623. SYNOPSIS : RemFont(textFont)
  624.              -486     A1
  625.  
  626. NAME     : RemIBob
  627. FUNCTION : Immediately remove a Bob from the gel list and the RastPort
  628. SYNOPSIS : RemIBob(bob,rp,vp)
  629.              -132  A0  A1 A2
  630.  
  631. NAME     : RemVSprite
  632. FUNCTION : Remove a VSprite from the current gel list
  633. SYNOPSIS : RemVSprite(vs)
  634.               -138    A0
  635.  
  636. NAME     : ScalerDiv
  637. FUNCTION : Get the scaling result that BitMapScale would
  638. SYNOPSIS : result=ScalerDiv(factor,numerator,denominator)
  639.              D0      -684     D0      D1         D2
  640.  
  641. NAME     : ScrollRaster
  642. FUNCTION : Push bits in rectangle in raster around by dx,dy towards
  643.            0,0 inside rectangle
  644. SYNOPSIS : ScrollRaster(rp,dx,dy,xmin,ymin,xmax,ymax)
  645.                -396     A1 D0 D1  D2   D3   D4   D5
  646.  
  647. NAME     : ScrollRasterBF
  648. FUNCTION : Push bits in rectangle in raster around by dx,dy towards
  649.            0,0 inside rectangle
  650. SYNOPSIS : ScrollRasterBF(rp,dx,dy,xmin,ymin,xmax,ymax)
  651.                -1002      A1 D0 D1  D2   D3   D4   D5
  652.  
  653. NAME     : ScrollVPort
  654. FUNCTION : Reinterpret RasInfo information in ViewPort to reflect
  655.            the current Offset values
  656. SYNOPSIS : ScrollVPort(vp)
  657.                -588    a0
  658.  
  659. NAME     : SetABPenDrMd
  660. FUNCTION : Set pen colors and draw mode for a RastPort
  661. SYNOPSIS : SetABPenDrMd(rp,apen,bpen,mode)
  662.                -894     a1  d0   d1   d2
  663.  
  664. NAME     : SetAPen
  665. FUNCTION : Set the primary pen for a RastPort
  666. SYNOPSIS : SetAPen(rp,pen)
  667.              -342  a1  d0
  668.  
  669. NAME     : SetBPen
  670. FUNCTION : Set secondary pen for a RastPort
  671. SYNOPSIS : SetBPen(rp,pen)
  672.              -348  a1  d0
  673.  
  674. NAME     : SetChipRev
  675. FUNCTION : turns on the features of a Chip Set
  676. SYNOPSIS : chiprevbits=SetChipRev(ChipRev)
  677.                           -888      d0
  678.  
  679. NAME     : SetCollision
  680. FUNCTION : Set a pointer to a user collision routine
  681. SYNOPSIS : SetCollision(num,routine,GInfo)
  682.                -144      D0    A0     A1
  683.  
  684. NAME     : SetDrMd
  685. FUNCTION : Set drawing mode for a RastPort
  686. SYNOPSIS : SetDrMd(rp,mode)
  687.              -354  a1  d0
  688.  
  689. NAME     : SetFont
  690. FUNCTION : Set the text font and attributes in a RastPort
  691. SYNOPSIS : SetFont(rp,font)
  692.              -66   A1  A0
  693.  
  694. NAME     : SetMaxPen
  695. FUNCTION : set maximum pen value for a rastport
  696. SYNOPSIS : SetMaxPen(rp,maxpen)
  697.               -990   a0   d0
  698.  
  699. NAME     : SetOPen (macro)
  700. FUNCTION : Change the Area OutLine pen and turn on Outline mode for areafills
  701. SYNOPSIS : SetOPen(rp,pen)
  702.  
  703. NAME     : SetOutlinePen
  704. FUNCTION : Set the Outline Pen value for a RastPort
  705. SYNOPSIS : old_pen=SetOutlinePen(rp,pen)
  706.               d0        -978     a0  d0
  707.  
  708. NAME     : SetRast
  709. FUNCTION : Set an entire drawing area to a specified color
  710. SYNOPSIS : SetRast(rp,pen)
  711.              -234  a1  d0
  712.  
  713. NAME     : SetRGB32
  714. FUNCTION : Set one color register for this Viewport
  715. SYNOPSIS : SetRGB32(vp,n ,r ,g ,b )
  716.              -852   a0 d0 d1 d2 d3
  717.  
  718. NAME     : SetRGB32CM
  719. FUNCTION : Set one color register for this ColorMap
  720. SYNOPSIS : SetRGB32CM(cm,n ,r ,g ,b )
  721.               -996    a0 d0 d1 d2 d3
  722.  
  723. NAME     : SetRGB4
  724. FUNCTION : Set one color register for this viewport
  725. SYNOPSIS : SetRGB4(vp,n ,r ,g ,b )
  726.              -288  a0 d0 d1 d2 d3
  727.  
  728. NAME     : SetRGB4CM
  729. FUNCTION : Set one color register for this ColorMap
  730. SYNOPSIS : SetRGB4CM(cm,n ,r ,g ,b )
  731.               -630   a0 d0 d1 d2 d3
  732.  
  733. NAME     : SetRPAttrsA
  734. FUNCTION : modify rastport settings via a tag list
  735. SYNOPSIS : SetRPAttrsA(rp,tags)
  736.               -1038    a0  a1
  737.  
  738. NAME     : SetSoftStyle
  739. FUNCTION : Set the soft style of the current font
  740. SYNOPSIS : newStyle=SetSoftStyle(rp,style,enable)
  741.               D0        -90      A1   D0    D1
  742.  
  743. NAME     : SetWriteMask
  744. FUNCTION : Set the pixel write mask value for a RastPort
  745. SYNOPSIS : success=SetWriteMask(rp,msk)
  746.               d0       -984     a0  d0
  747.  
  748. NAME     : SortGList
  749. FUNCTION : Sort the current gel list,ordering its y,x coordinates
  750. SYNOPSIS : SortGList(rp)
  751.               -150   A1
  752.  
  753. NAME     : StripFont
  754. FUNCTION : remove the tf_Extension from a font
  755. SYNOPSIS : StripFont(font)
  756.              -822     A0
  757.  
  758. NAME     : SyncSBitMap
  759. FUNCTION : Syncronize Super BitMap with whatever is in the
  760.            standard Layer bounds
  761. SYNOPSIS : SyncSBitMap(layer)
  762.               -444       a0
  763.  
  764. NAME     : Text
  765. FUNCTION : Write text characters (no formatting)
  766. SYNOPSIS : Text(rp,string,length)
  767.             -60 A1   A0     D0
  768.  
  769. NAME     : TextExtent
  770. FUNCTION : Determine raster extent of text data
  771. SYNOPSIS : TextExtent(rp,string,count,textExtent)
  772.               -690    A1   A0     D0      A2
  773.  
  774. NAME     : TextFit
  775. FUNCTION : count characters that will fit in a given extent
  776. SYNOPSIS : chars=TextFit(rastport,string,strLen,textExtent,constrainingExtent,
  777.              D0    -696     A1      A0     D0       A2             A3
  778.                          strDirection,constrainingBitWidth,constrainingBitHeight)
  779.                               D1              D2                    D3
  780.  
  781. NAME     : TextLength
  782. FUNCTION : Determine raster length of text data
  783. SYNOPSIS : length=TextLength(rp,string,count)
  784.              D0       -54    A1   A0     D0
  785.  
  786. NAME     : UnlockLayerRom
  787. FUNCTION : Unlock Layer structure by ROM code
  788. SYNOPSIS : UnlockLayerRom(layer)
  789.                 -438        a5
  790.  
  791. NAME     : VBeamPos
  792. FUNCTION : Get vertical beam position at this instant
  793. SYNOPSIS : pos=VBeamPos()
  794.             d0   -384
  795.  
  796. NAME     : VideoControl
  797. FUNCTION : Modify the operation of a ViewPort's ColorMap
  798. SYNOPSIS : error=VideoControl(cm,tags)
  799.              d0      -708     a0  a1
  800.  
  801. NAME     : WaitBlit
  802. FUNCTION : Wait for the blitter to be finished before proceeding
  803.            with anything else
  804. SYNOPSIS : WaitBlit()
  805.              -228
  806.  
  807. NAME     : WaitBOVP
  808. FUNCTION : Wait till vertical beam reached bottom of this viewport
  809. SYNOPSIS : WaitBOVP(vp)
  810.              -402   a0
  811.  
  812. NAME     : WaitTOF
  813. FUNCTION : Wait for the top of the next video frame
  814. SYNOPSIS : WaitTOF()
  815.             -270
  816.  
  817. NAME     : WriteChunkyPixels
  818. FUNCTION : write the pen number value of a rectangular array of pixels
  819.            starting at a specified x,y location and continuing through
  820.            to another x,y location within a certain RastPort
  821. SYNOPSIS : WriteChunkyPixels(rp,xstart,ystart,xstop,ystop,array,bytesperrow)
  822.                  -1056       A0   D0     D1     D2    D3    A2       D4
  823.  
  824. NAME     : WritePixel
  825. FUNCTION : Change the pen num of one specific pixel in a specified RastPort
  826. SYNOPSIS : error=WritePixel(rp,x ,y )
  827.              d0     -324    a1 D0 D1
  828.  
  829. NAME     : WritePixelArray8
  830. FUNCTION : write the pen number value of a rectangular array of pixels
  831.            starting at a specified x,y location and continuing through
  832.            to another x,y location within a certain RastPort
  833. SYNOPSIS : count=WritePixelArray8(rp,xstart,ystart,xstop,ystop,array,temprp)
  834.              D0        -786       A0   D0     D1     D2    D3    A2    A1
  835.  
  836. NAME     : WritePixelLine8
  837. FUNCTION : write the pen number value of a horizontal line of pixels
  838.            starting at a specified x,y location and continuing right
  839.            for count pixels
  840. SYNOPSIS : count=WritePixelLine8(rp,xstart,ystart,width,array,temprp)
  841.              D0       -774       A0   D0     D1     D2    A2    A1
  842.  
  843. NAME     : XorRectRegion
  844. FUNCTION : Perform 2d XOR operation of rectangle with region,
  845.            leaving result in region
  846. SYNOPSIS : status=XorRectRegion(region,rectangle)
  847.              d0       -558        A0      A1
  848.  
  849. NAME     : XorRegionRegion
  850. FUNCTION : Perform 2d XOR operation of one region with second region,
  851.            leaving result in second region
  852. SYNOPSIS : status=XorRegionRegion(region1,region2)
  853.              d0         -618         A0      A1
  854.  
  855.